<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>生活记录 | 我的日常随笔</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #6C63FF;
            --secondary: #FF6584;
            --dark: #2A2D3E;
            --light: #F7F9FC;
            --gray: #9A9EAE;
            --text: #333333;
            --text-light: #666666;
            --transition: all 0.3s ease;
        }

        body {
            background-color: var(--light);
            color: var(--text);
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 导航栏样式 */
        header {
            background-color: white;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            font-weight: 500;
            position: relative;
            transition: var(--transition);
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-links a.active {
            color: var(--primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--primary);
            transition: var(--transition);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        /* 文章头部 */
        .article-header {
            padding: 60px 0 40px;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .article-category {
            display: inline-block;
            background: rgba(108, 99, 255, 0.1);
            color: var(--primary);
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .article-title {
            font-size: 2.8rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            font-family: 'Noto Serif SC', serif;
        }

        .article-meta {
            display: flex;
            justify-content: center;
            gap: 25px;
            color: var(--text-light);
            font-size: 0.95rem;
            margin-bottom: 30px;
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .article-image {
            width: 100%;
            height: 400px;
            border-radius: 15px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            margin: 30px 0;
            background-size: cover;
            background-position: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        /* 文章内容 */
        .article-content {
            max-width: 800px;
            margin: 0 auto 60px;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .article-body {
            background: white;
            border-radius: 15px;
            padding: 50px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .article-body p {
            margin-bottom: 25px;
            color: var(--text);
            font-size: 1.15rem;
            line-height: 1.8;
        }

        .article-body h2 {
            font-size: 1.8rem;
            margin: 40px 0 20px;
            color: var(--primary);
            font-family: 'Noto Serif SC', serif;
            position: relative;
            display: inline-block;
        }

        .article-body h2::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            border-radius: 3px;
        }

        .article-body blockquote {
            border-left: 4px solid var(--primary);
            padding: 20px 0 20px 25px;
            margin: 30px 0;
            font-style: italic;
            color: var(--text-light);
            background: rgba(108, 99, 255, 0.03);
            border-radius: 0 8px 8px 0;
            font-size: 1.1rem;
        }

        .article-body ul, .article-body ol {
            margin: 25px 0;
            padding-left: 30px;
            font-size: 1.1rem;
        }

        .article-body li {
            margin-bottom: 10px;
            color: var(--text);
        }

        .article-body img {
            max-width: 100%;
            border-radius: 10px;
            margin: 30px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }

        .image-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin: 30px 0;
        }

        .image-grid img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 10px;
            transition: var(--transition);
            cursor: pointer;
        }

        .image-grid img:hover {
            transform: scale(1.02);
        }

        .image-caption {
            text-align: center;
            font-style: italic;
            color: var(--text-light);
            margin-top: 10px;
            font-size: 0.9rem;
        }

        /* 音乐播放器 */
        .music-player {
            background: white;
            border-radius: 15px;
            padding: 25px;
            margin: 40px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
            position: sticky;
            top: 80px;
            z-index: 10;
        }

        .music-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--primary);
        }

        .player-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 15px;
        }

        .player-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            font-size: 1.2rem;
        }

        .player-btn:hover {
            transform: scale(1.1);
            background: #5a52e0;
        }

        .progress-bar {
            flex-grow: 1;
            height: 6px;
            background: var(--light);
            border-radius: 3px;
            position: relative;
            overflow: hidden;
        }

        .progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            background: var(--primary);
            width: 30%;
            border-radius: 3px;
        }

        /* 文章底部 */
        .article-footer {
            max-width: 800px;
            margin: 0 auto 60px;
        }

        .article-tags {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }

        .tag {
            background: rgba(108, 99, 255, 0.1);
            color: var(--primary);
            padding: 8px 15px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: var(--transition);
        }

        .tag:hover {
            background: var(--primary);
            color: white;
        }

        .article-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 0;
            border-top: 1px solid #eaeaea;
            border-bottom: 1px solid #eaeaea;
            margin-bottom: 40px;
        }

        .social-share {
            display: flex;
            gap: 15px;
        }

        .share-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--light);
            color: var(--text);
            transition: var(--transition);
            cursor: pointer;
        }

        .share-btn:hover {
            transform: translateY(-3px);
        }

        .share-btn.heart:hover {
            background: #ff6b6b;
            color: white;
        }

        .share-btn.comment:hover {
            background: var(--secondary);
            color: white;
        }

        .share-btn.bookmark:hover {
            background: var(--primary);
            color: white;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 25px;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 30px;
            font-weight: 500;
            transition: var(--transition);
            cursor: pointer;
        }

        .action-btn:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* 作者信息 */
        .author-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            display: flex;
            gap: 20px;
            align-items: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 60px;
        }

        .author-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.8rem;
            flex-shrink: 0;
        }

        .author-info h3 {
            font-size: 1.3rem;
            margin-bottom: 5px;
        }

        .author-bio {
            color: var(--text-light);
            margin-bottom: 15px;
        }

        .author-social {
            display: flex;
            gap: 10px;
        }

        .author-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--light);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .author-social a:hover {
            background: var(--primary);
            color: white;
        }

        /* 页脚样式 */
        footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--primary);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            transition: var(--transition);
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        /* 响应式设计 */
        @media (max-width: 992px) {
            .image-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                gap: 20px;
            }
            
            .article-title {
                font-size: 2.2rem;
            }
            
            .article-body {
                padding: 30px;
            }
            
            .article-actions {
                flex-direction: column;
                gap: 20px;
            }
            
            .author-card {
                flex-direction: column;
                text-align: center;
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .article-title {
                font-size: 1.8rem;
            }
            
            .article-meta {
                flex-direction: column;
                gap: 10px;
            }
            
            .article-image {
                height: 250px;
            }
            
            .action-buttons {
                flex-direction: column;
                width: 100%;
            }
            
            .action-btn {
                justify-content: center;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <header>
        <div class="container">
            <nav class="navbar">
                <a href="/index.html" class="logo">+☆</a>
                <div class="nav-links">
                    <a href="/index.html">首页</a>
                    <a href="articles.html" class="active">生活记录</a>
                    <a href="gallery.html">照片墙</a>
                    <a href="about.html">关于我</a>
                    <a href="contact.html">联系</a>
                </div>
            </nav>
        </div>
    </header>

    <!-- 文章头部 -->
    <section class="article-header">
        <div class="container">
            <span class="article-category">生活随笔</span>
            <h1 class="article-title">一个平凡而美好的秋日</h1>
            <div class="article-meta">
                <span><i class="far fa-calendar"></i> 2023年10月20日</span>
                <span><i class="far fa-clock"></i> 阅读时间：8分钟</span>
                <span><i class="far fa-heart"></i> 128次点赞</span>
            </div>
            <div class="article-image" style="background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80')"></div>
        </div>
    </section>

    <!-- 音乐播放器 -->
    <div class="container">
        <div class="music-player">
            <h3 class="music-title">今日背景音乐: 稻香 - 周杰伦</h3>
            <div class="player-controls">
                <button class="player-btn" id="prevBtn"><i class="fas fa-step-backward"></i></button>
                <button class="player-btn" id="playBtn"><i class="fas fa-play"></i></button>
                <button class="player-btn" id="nextBtn"><i class="fas fa-step-forward"></i></button>
                <div class="progress-bar">
                    <div class="progress" id="progress"></div>
                </div>
            </div>
        </div>
    </div>

    <!-- 文章内容 -->
    <section class="article-content">
        <div class="container">
            <div class="article-body">
                <p>今天醒来时，阳光已经透过窗帘的缝隙洒在了地板上，形成一道金色的光带。我躺在床上，听着窗外鸟儿清脆的鸣叫声，感受着这个秋日早晨的宁静与美好。</p>
                
                <p>起床后，我泡了一杯热茶，坐在窗边的椅子上，看着外面的世界慢慢苏醒。树叶已经开始变黄，偶尔有几片叶子随风飘落，像是大自然在轻轻诉说着季节的更替。</p>
                
                <h2>晨间漫步</h2>
                <p>早餐后，我决定去附近的公园散步。秋天的空气格外清新，带着一丝凉意，却又不至于寒冷。走在铺满落叶的小径上，脚下发出沙沙的声响，这种声音总能让我感到莫名的安心。</p>
                
                <div class="image-grid">
                    <div>
                        <img src="https://images.unsplash.com/photo-1502082553048-f009c37129b9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80" alt="秋日公园">
                        <div class="image-caption">公园里金黄的银杏树</div>
                    </div>
                    <div>
                        <img src="https://images.unsplash.com/photo-1578321272175-bb6db171bc00?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80" alt="落叶小径">
                        <div class="image-caption">铺满落叶的小径</div>
                    </div>
                </div>
                
                <p>在公园的长椅上，我遇到了一位正在喂鸽子的老人。他告诉我，他几乎每天都会来这里，已经坚持了十年。他说："看着这些鸽子，看着四季的变化，让我感到生命的延续和平静。"</p>
                
                <blockquote>
                    "生活不在于拥有多少，而在于感受多少。每一个平凡的日子，都藏着不平凡的美丽。"
                </blockquote>
                
                <h2>午后时光</h2>
                <p>回到家后，我决定整理一下书架。在整理的过程中，我发现了许多已经被遗忘的书籍和旧物。有一本大学时期的日记，翻开来看，里面记录着那些年的梦想和困惑。</p>
                
                <img src="https://images.unsplash.com/photo-1481627834876-b7833e8f5570?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80" alt="书架">
                <div class="image-caption">整理书架时发现的旧物</div>
                
                <p>读着那些年轻的文字，我不禁微笑。那时的自己是那么天真，却又那么充满热情。时间改变了很多，但也留下了许多珍贵的回忆。</p>
                
                <h2>黄昏时刻</h2>
                <p>傍晚时分，我站在阳台上看着日落。天空被染成了橙红色，云彩像是被点燃了一样，美丽得令人窒息。这样的景色总是让我感到自己的渺小，却也让我更加珍惜眼前的一切。</p>
                
                <div class="image-grid">
                    <div>
                        <img src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80" alt="黄昏天空">
                        <div class="image-caption">黄昏时分的天空</div>
                    </div>
                    <div>
                        <img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80" alt="阳台视角">
                        <div class="image-caption">从阳台看到的景色</div>
                    </div>
                </div>
                
                <p>晚餐后，我点了一支香薰蜡烛，在柔和的灯光下继续阅读那本已经搁置了很久的小说。这样的夜晚，安静而充实，让我感到内心的平静和满足。</p>
                
                <h2>今日感悟</h2>
                <p>在这个快节奏的时代，我们常常忙于追逐未来，却忽略了当下的美好。今天的经历提醒我，生活中有太多值得珍惜的瞬间：</p>
                
                <ul>
                    <li>清晨阳光透过窗户的温暖</li>
                    <li>公园里落叶的声音</li>
                    <li>与陌生人短暂的交流</li>
                    <li>重新发现旧物的惊喜</li>
                    <li>黄昏时分天空的变幻</li>
                    <li>夜晚安静阅读的时光</li>
                </ul>
                
                <p>这些看似平凡的瞬间，实际上构成了生活的精髓。我们不需要刻意寻找幸福，它就在我们身边，只需要我们用心去感受。</p>
                
                <p>希望明天的你，也能在平凡中发现不平凡，在简单中感受丰富。生活是一本打开的书，每一天都是新的一页，值得我们细细品读。</p>
            </div>
        </div>
    </section>

    <!-- 文章底部 -->
    <section class="article-footer">
        <div class="container">
            <div class="article-tags">
                <a href="#" class="tag">生活随笔</a>
                <a href="#" class="tag">秋日</a>
                <a href="#" class="tag">感悟</a>
                <a href="#" class="tag">日常记录</a>
                <a href="#" class="tag">美好时光</a>
            </div>
            
            <div class="article-actions">
                <div class="social-share">
                    <div class="share-btn heart"><i class="far fa-heart"></i></div>
                    <div class="share-btn comment"><i class="far fa-comment"></i></div>
                    <div class="share-btn bookmark"><i class="far fa-bookmark"></i></div>
                </div>
                
                <div class="action-buttons">
                    <button class="action-btn" id="prevArticleBtn"><i class="fas fa-arrow-left"></i> 上一篇</button>
                    <button class="action-btn" id="nextArticleBtn">下一篇 <i class="fas fa-arrow-right"></i></button>
                </div>
            </div>
            
            <!-- 作者信息 -->
            <div class="author-card">
                <div class="author-avatar">
                    <i class="fas fa-user"></i>
                </div>
                <div class="author-info">
                    <h3>张明</h3>
                    <p class="author-bio">热爱生活的记录者，喜欢用文字和照片记录日常点滴，相信平凡中蕴含着最真实的美好。</p>
                    <div class="author-social">
                        <a href="#"><i class="fab fa-weibo"></i></a>
                        <a href="#"><i class="fab fa-instagram"></i></a>
                        <a href="#"><i class="fab fa-twitter"></i></a>
                        <a href="#"><i class="fas fa-envelope"></i></a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-column">
                    <h3>+☆</h3>
                    <p>一个记录生活点滴、分享感悟的个人空间，珍藏每一个平凡而珍贵的瞬间。</p>
                </div>
                <div class="footer-column">
                    <h3>快速链接</h3>
                    <ul class="footer-links">
                        <li><a href="/index.html">首页</a></li>
                        <li><a href="articles.html">生活记录</a></li>
                        <li><a href="gallery.html">照片墙</a></li>
                        <li><a href="about.html">关于我</a></li>
                        <li><a href="contact.html">联系我</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>订阅更新</h3>
                    <p>订阅我的生活记录，获取最新的文章和分享。</p>
                    <form>
                        <input type="email" placeholder="输入您的邮箱" style="padding: 10px; width: 100%; margin-top: 10px; border-radius: 5px; border: none;">
                        <button class="action-btn" style="margin-top: 10px; width: 100%; background: var(--primary); color: white; border: none;">订阅</button>
                    </form>
                </div>
            </div>
            <div class="copyright">
                <p>&copy; 2025 +☆. 保留所有权利。</p>
            </div>
        </div>
    </footer>

    <!-- 音频元素 -->
    <audio id="backgroundMusic" loop>
        <source src="/music/daoxiang-zhoujielun.mp3" type="audio/mpeg">
        您的浏览器不支持音频元素。
    </audio>

    <script>
        // 音乐播放器功能
        const audio = document.getElementById('backgroundMusic');
        const playBtn = document.getElementById('playBtn');
        const progress = document.getElementById('progress');
        let isPlaying = false;
        
        // 页面加载时自动播放音乐
        window.addEventListener('load', function() {
            // 尝试自动播放
            const playPromise = audio.play();
            
            if (playPromise !== undefined) {
                playPromise.then(() => {
                    // 自动播放成功
                    isPlaying = true;
                    playBtn.innerHTML = '<i class="fas fa-pause"></i>';
                    startProgressAnimation();
                }).catch(error => {
                    // 自动播放失败，显示播放按钮
                    console.log('自动播放被阻止:', error);
                    isPlaying = false;
                    playBtn.innerHTML = '<i class="fas fa-play"></i>';
                });
            }
        });
        
        // 播放/暂停按钮
        playBtn.addEventListener('click', function() {
            if (isPlaying) {
                audio.pause();
                playBtn.innerHTML = '<i class="fas fa-play"></i>';
                isPlaying = false;
            } else {
                audio.play();
                playBtn.innerHTML = '<i class="fas fa-pause"></i>';
                isPlaying = true;
                startProgressAnimation();
            }
        });
        
        // 模拟进度条动画
        function startProgressAnimation() {
            let width = 0;
            const interval = setInterval(() => {
                if (width >= 100 || !isPlaying) {
                    clearInterval(interval);
                    return;
                }
                width += 0.05;
                progress.style.width = width + '%';
                
                // 当进度条到达末尾时重置
                if (width >= 100) {
                    setTimeout(() => {
                        width = 0;
                        progress.style.width = '0%';
                    }, 500);
                }
            }, 100);
        }
        
        // 点赞功能
        const likeBtn = document.querySelector('.fa-heart').closest('.share-btn');
        likeBtn.addEventListener('click', function() {
            this.classList.toggle('liked');
            if (this.classList.contains('liked')) {
                this.innerHTML = '<i class="fas fa-heart"></i>';
            } else {
                this.innerHTML = '<i class="far fa-heart"></i>';
            }
        });
        
        // 收藏功能
        const bookmarkBtn = document.querySelector('.fa-bookmark').closest('.share-btn');
        bookmarkBtn.addEventListener('click', function() {
            this.classList.toggle('bookmarked');
            if (this.classList.contains('bookmarked')) {
                this.innerHTML = '<i class="fas fa-bookmark"></i>';
            } else {
                this.innerHTML = '<i class="far fa-bookmark"></i>';
            }
        });
        
        // 上一篇/下一篇按钮
        const prevArticleBtn = document.getElementById('prevArticleBtn');
        const nextArticleBtn = document.getElementById('nextArticleBtn');
        
        prevArticleBtn.addEventListener('click', function() {
            alert('跳转到上一篇文章');
            // 在实际应用中这里会跳转到上一篇文章
        });
        
        nextArticleBtn.addEventListener('click', function() {
            alert('跳转到下一篇文章');
            // 在实际应用中这里会跳转到下一篇文章
        });
        
        // 图片点击放大效果
        const images = document.querySelectorAll('.article-body img');
        images.forEach(img => {
            img.addEventListener('click', function() {
                // 在实际应用中这里可以打开图片查看器
                alert('图片查看功能即将推出！');
            });
        });
    </script>
</body>
</html>